package com.example.yoga.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liwenkai
 * @since 2021-02-02
 */
@TableName("mv")
public class Mv extends Model<Mv> {

    private static final long serialVersionUID = 1L;

    /**
     * 视频表ID
     */
    @TableId(value = "mvId", type = IdType.AUTO)
    private Integer mvid;

    /**
     * 视频名
     */
    @TableField("mvName")
    private String mvname;

    /**
     * 视频路径
     */
    @TableField("mvPath")
    private String mvpath;


    public Integer getMvid() {
        return mvid;
    }

    public void setMvid(Integer mvid) {
        this.mvid = mvid;
    }

    public String getMvname() {
        return mvname;
    }

    public void setMvname(String mvname) {
        this.mvname = mvname;
    }

    public String getMvpath() {
        return mvpath;
    }

    public void setMvpath(String mvpath) {
        this.mvpath = mvpath;
    }

    @Override
    protected Serializable pkVal() {
        return this.mvid;
    }

    @Override
    public String toString() {
        return "Mv{" +
        "mvid=" + mvid +
        ", mvname=" + mvname +
        ", mvpath=" + mvpath +
        "}";
    }
}
